#include "dialog.h"
#include "mywidget.h"

#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Dialog w;
    Mywidget m;
    w.setWindowTitle("天瞳工具箱");
    if(w.exec()==QDialog::Accepted){
        m.show();
        return a.exec();
    }
    else{
        return 0;
    }
}
